package test;
public class ClassResult{
	public static void main(String[] args) {
		Student student;
		Teacher teacher;
		Course course;
		Student stu1 = new Student(2021310854, "郭嘉辰","马原");
		Teacher tea1= new Teacher(27,"石泉");
		Course cou1 = new Course(102,"形势与政策");
		System.out.println("学生信息:" + " " + stu1.getStuId() + "   " + stu1.getStuName() + "   "+stu1.getMajor());
		System.out.println("老师信息:" + " " + tea1.getId() + "   " + tea1.getTeacherName());
		System.out.println("课程信息:" + " " + "教室" + cou1.getId() + "    " + cou1.getName());
		}
	}
